home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
dev
/
amos
/
AMOS1097.lzh
/
AMOSLIST
/
000256_amos-request@svcs1.digex.net_Sun Oct 26 11:10:14 1997.msg
< prev
next >
Wrap
Internet Message Format
|
1997-11-02
|
3KB
Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
by mail3.access.digex.net (8.8.5/8.8.5) with ESMTP id LAA24436
for <mcox@access.digex.net>; Sun, 26 Oct 1997 11:10:13 -0500 (EST)
Received: (from daemon@localhost)
by svcs1.digex.net (8.8.5/8.8.5) id JAA01736
for amos-out; Sun, 26 Oct 1997 09:28:03 -0500 (EST)
Received: from mail2.access.digex.net (mail2.access.digex.net [205.197.247.3])
by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id JAA01733
for <amos-list@svcs1.digex.net>; Sun, 26 Oct 1997 09:28:02 -0500 (EST)
Received: from www11-gui.server.virgin.net (www11-gui.server.virgin.net [194.168.54.17])
by mail2.access.digex.net (8.8.5/8.8.5) with ESMTP id JAA14134
for <amos-list@access.digex.net>; Sun, 26 Oct 1997 09:28:00 -0500 (EST)
Received: from p53-albatross-gui.tch.virgin.net ([194.168.56.53])
by www11-gui.server.virgin.net (Post.Office MTA v3.1.2
release (PO203-101c) ID# 0-0U10L2S100) with ESMTP id AAB3268
for <amos-list@access.digex.net>; Sun, 26 Oct 1997 14:27:58 +0000
From: "Alastair Murray" <malcolm.murray@virgin.net>
Organization: Muzzasoft/Microplanet Games
Date: 17 Oct 120 06:31:11 +0000
Subject: Re: Pattern Match
Message-Id: <5F8A8FAF.MD-0.196.malcolm.murray@virgin.net>
In-Reply-To: <yam7237.2750.1747919112@post8.tele.dk>
To: amos-list@access.digex.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: MicroDot-II/AmigaOS 0.196
Status: O
X-Status:
>>Anyone have any AMOS code for doing a pattern match on a string?
> >>e.g. *.AMOS or #?.AMOS to see if a string contains .AMOS in it
> >>anywhere.
> >>Saves me writing it myself...
>
> >A=Instr(<string to check>,<string to search for>)
>
> THAT's NOT A PATTERN MATCH, but a character match
Yes. A few people have misunderstood me I think.
This is what I need.
using: #?amos#?pro :as a pattern would respond
True for "amos pro" or "amos not pro" or "not amos pro" or "not amos
not pro" etc. As long as it has Anything, then the word "amos" then
anything else and then the word "pro" and nothing else.... get it?
No-one programmed anything like this?
I know some extension use it (AMCAF) and you can access the Pattern
Match in a library somehow but I'd rather let it work with 1.3 dos as
well.
-Murray
--
\\|// Alastair Murray
(o o) malcolm.murray@virgin.net
|~~~~~~oOOo~(_)~oOOo~~~~~|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
| AMINET |Web-Page (Amiga/Games/AMOS/trek/Music/ |
| game/role/CHAOS | +more) |
|game/jump/Banana Islands|http://freespace.virgin.net/malcolm.murray|
| game/shoot/Hanger18 |Current Projects: >Chaos 2 |
| dev/amos/keystate | >Kill Em All >Hanger 18 II |
| dev/amos/picpack | >Skool Daze >The Crow |
| game/shoot/traitor | >Banana Islands |
| game/shoot/extinct | >The Turtleminator |
| game/jump/blobby | >Backbone - The Game Creator |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~